home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
PRG
/
Menu Events 1.3.sit
/
Menu Events 1.3
/
Menu Events Help.rsrc
/
STR#_1026.txt
< prev
next >
Wrap
Text File
|
1996-03-06
|
6KB
|
267 lines
□
□
□□application.□
□□information about the method by which Menu Events activates the target
□□See the section entitled 窶廩ow Does Menu Events Work?窶 for more
complete.□
previously in front, it returns to the front after the menu action is
menu selection upon it. If the sender was on the same machine, and was
This event brings the target application to the front before forcing the
□
programmed.□
when you select from the menu, depending on how the procedure was
procedure ('MDEF'), but the results may or may not reflect what happens
This event does work for menus which use a non-standard menu definition
□
effect of the selection.□
simulated menu item selection, in case this makes a difference in the
keys (Shift, Control, Option, Command) are pressed at the time of the
You may optionally include Boolean parameters to indicate which modifier
□
which is not the same as three period characters, despite its appearance.□
ellipsis ('窶ヲ') character which often appears at the end of the string,
select, be sure to match any special characters in the text, especially the
If you use the menu item text parameter to specify the menu item to
□
□□□□□
any regular, application-defined, enabled menu item.□
for the upper (System-defined) part of the Help menu, but it works for
Application menus, which are not under the control of the application, nor
menu and selected that item. This does not work for the Keyboard and
parameter, asks the application to act as though the user pulled down that
parameter and a menu item ID (integer) and/or menu item text (string)
This event, given a menu ID (integer) and/or menu title (string)
□
□□□□xSelect Menu Item Event□
□□□□□
□
□
□□application.□
□□information about the method by which Menu Events activates the target
□□See the section entitled 窶廩ow Does Menu Events Work?窶 for more
complete.□
previously in front, it returns to the front after the menu query is
menu bar click upon it. If the sender was on the same machine, and was
This event brings the target application to the front before forcing the
□
programmed.□
when you pull down the menu, depending on how the procedure was
procedure ('MDEF'), but the results may or may not reflect what you see
This event does work for menus which use a non-standard menu definition
□
the menu.□
simulated menu bar click, in case this makes a difference in the content of
keys (Shift, Control, Option, Command) are pressed at the time of the
You may optionally include Boolean parameters to indicate which modifier
□
it to bring its menus up to date.□
This event simulates a simple click in the application窶冱 menu bar, to force
□
□□□□□
menu. Separators appear as disabled items with an item text of 窶-窶.□
parameter. The items are numbered starting from 1 at the top end of the
ID (integer), a style value (integer), and a Command character (integer)
(string), an enable/disable (Boolean), a mark character (integer), an icon
menu item, each containing a menu item ID (integer), an item text
hierarchical, or pop-up menu, it will return a list of records, one per
application has a menu with that ID and/or title, be it a regular, system,
parameter, queries the items of a certain target application menu. If the
This event, given a menu ID (integer) and/or menu title (string)
□
□□□□xQuery Menu Event□
□□□□□
□
□
them.□
ways of counting, disabling, and displaying menu items, so be careful with
resource. Non-standard menu definition procedures may have abnormal
A value of -1 indicates that the menu definition procedure is not a
NOTE: The standard menu definition procedure ('MDEF') resource ID is 0.
□
pop-up menus do not appear in this list, but the Apple menu does.□
System menus (Keyboard, Help, Application), hierarchical menus, and
□
□□Menu Grabber.□
□□See the section entitled 窶彜uggestions for Use窶 for more information on
□□□□□
often do.□
that menu IDs do not have to agree with 'MENU' resource IDs, though they
use the Menu Grabber application, also part of AWOL Utilities.) Be aware
Lock key and record menu actions using a script editor; yet another is to
menus, this is one way to find out. (Another way is to press the Caps
parameter. If you do not know the IDs or titles of the target application窶冱
(Boolean), and a menu definition procedure resource ID (integer)
containing a menu ID (integer), a title (string), an enable/disable
background-only, and has a menu bar, it will return a list of records, each
application. If the application is high-level-event-aware, not
This event, with no parameters, queries the menu list of the target
□
□□□□xQuery Menu List Event□
□□□□□
□
□
□□Menu Events suite.□
□□See the section entitled 窶廴enu Events Suite窶 for more information on the
There are three events defined in the suite, and they work as follows.□
□
themselves immediately.□
窶徙n the fly窶 to simulate menu selection, but the patches remove
specifically to the Menu event class. Menu Events does patch some traps
event handler cannot conflict with any other, because it is bound
installs an Apple event handler in the system dispatch table. The Apple
trap at system startup to enable the Apple event recording capability, and
Menu Events installs a GetNextEvent filter and patches the MenuSelect
□
each other. These conflicts usually result from competitive trap patching.□
because of the conflicts they often cause with System software and with
Many people are justly wary of control panels and system extensions,
□
□□□□□
script commands.□
event. This capability allows a script editor to record menu actions as
it alters menu selection logic so that the selection is recorded as a Menu
high-level-event-aware application. Also, if the Caps Lock key is down,
Apple events (窶廴enu events窶) to the set supported by every
Extensions folder and restarted your Macintosh, it adds a small suite of
Menu Events is a system extension. Once you have placed it in your
□
□
□□□□□□□テ・□□□What Does Menu Events Do?□
□□□□□□x□
□□□□□□x
□
□□□□□